package com.yunhe.java.Day14.pro1.model;

/**
 * Created by Administrator on 2017/8/8 0008.
 */
public class User {
    public static final String TYPE_CH ="讲师";
    public static final String TYPE_AD="管理员";
    public static final int TYPE_CH1=1;
    public static final int TYPE_AD2=2;


    private String id;
    private String userName;
    private String realName;
    private String passWord;
    private String type;


    public User(){}

    public User(String id,String userName,String realName,String passWord,String type){
        this.id=id;
        this.userName=userName;
        this.realName=realName;
        this.passWord=passWord;
        this.type=type;
    };


    public String getName() {
        return userName;
    }
    public void setName(String name) {
        this.userName = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public static String getTypeCh() {
        return TYPE_CH;
    }

    public static String getTypeAd() {
        return TYPE_AD;
    }
}
